package java56_6.ch5;

//usb摄像头
public class USBCamera extends PictureDevice implements Usb {
	private String name;
	private int price;

	public USBCamera() {
		// TODO 自动生成的构造函数存根
	}

	public USBCamera(String name, int price) {
		super();
		this.name = name;
		this.price = price;
	}

	public void makeFlash() {
		System.out.println(name + "发出闪光，照亮你的美");
	}

	@Override
	public void powerSupply() {
		System.out.println(name + "摄像头接上了电源，开始工作了。。。");
	}

	@Override
	public void work() {
		System.out.println("开始工作了，开始录像");
	}

}
